package com.house.system.domain;

import com.house.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 评论对象 comment
 * 
 * @author tc
 * @date 2022-02-25
 */
public class Comment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评论编号 */
    private Long commentId;

    /** 房屋编号 */
    private Long houseId;

    /** 评论用户编号 */
    private Long userId;

    /** 评论内容 */
    private String commentDetail;

    /** 状态 0:正常 1:停用 */
    private String status;

    public void setCommentId(Long commentId) 
    {
        this.commentId = commentId;
    }

    public Long getCommentId() 
    {
        return commentId;
    }
    public void setHouseId(Long houseId) 
    {
        this.houseId = houseId;
    }

    public Long getHouseId() 
    {
        return houseId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCommentDetail(String commentDetail) 
    {
        this.commentDetail = commentDetail;
    }

    public String getCommentDetail() 
    {
        return commentDetail;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("commentId", getCommentId())
            .append("houseId", getHouseId())
            .append("userId", getUserId())
            .append("commentDetail", getCommentDetail())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("remark", getRemark())
            .toString();
    }
}
